﻿using Magicodes.ExporterAndImporter.Core;
using Magicodes.ExporterAndImporter.Excel;
namespace EMC.VISITOR.Application;

    /// <summary>
    /// 工程監工日誌打印输出参数
    /// </summary>
    public partial class FlowSystemSGJKDto
    {
        /// <summary>
        /// 工程名稱
        /// </summary>
        public string? project_name { get; set; }
        
        /// <summary>
        /// 承攬廠商名稱
        /// </summary>
        public string? supplier_name { get; set; }
        
        /// <summary>
        /// 工程主辦部門
        /// </summary>
        public string? req_dept { get; set; }
        
        /// <summary>
        /// 工程主辦部門名稱
        /// </summary>
        public string? req_dept_name { get; set; }
        
        /// <summary>
        /// 工程主辦人員
        /// </summary>
        public string? req_empl { get; set; }
        
        /// <summary>
        /// 工程主辦人員姓名
        /// </summary>
        public string? req_empl_name { get; set; }
        
        /// <summary>
        /// 緊急聯絡電話
        /// </summary>
        public string? req_tel { get; set; }
        
        /// <summary>
        /// 施工開始時間
        /// </summary>
        public DateTime? BeginDateTime { get; set; }
        
        /// <summary>
        /// 施工結束時間
        /// </summary>
        public DateTime? EndDateTime { get; set; }
        
        /// <summary>
        /// 施工內容說明
        /// </summary>
        public string? content_desc { get; set; }
        
        /// <summary>
        /// 施工人员信息
        /// </summary>
        public string? personlist { get; set; }
        
        /// <summary>
        /// 申請時間
        /// </summary>
        public DateTime? ReqDateTime { get; set; }
        
        /// <summary>
        /// 详细内容
        /// </summary>
        public string? Content { get; set; }
        
        /// <summary>
        /// 工作进度
        /// </summary>
        public string? Progress { get; set; }
        
        /// <summary>
        /// 待改善项目
        /// </summary>
        public string? ChangeProject { get; set; }
        
   [SugarColumn(IsJson = true)]
   public object Images { get; set; } 
        /// <summary>
        /// 补充人员
        /// </summary>
        public string? bcpersonlist { get; set; }
        
        /// <summary>
        /// 施工區域現場負責人姓名
        /// </summary>
        public string? build_empl_name { get; set; }
        
        /// <summary>
        /// 施工開始時間
        /// </summary>
        public string? begin_date { get; set; }
        
        /// <summary>
        /// 施工結束時間
        /// </summary>
        public string? end_date { get; set; }
        
        /// <summary>
        /// 施工區域部門
        /// </summary>
        public string? build_dept { get; set; }
        
        /// <summary>
        /// 施工區域部門名稱
        /// </summary>
        public string? build_dept_name { get; set; }
        
        /// <summary>
        /// 施工區域現場負責人
        /// </summary>
        public string? build_empl { get; set; }
        
        /// <summary>
        /// 施工緊急聯絡電話
        /// </summary>
        public string? build_tel { get; set; }
        
        /// <summary>
        /// 承攬商現場負責人
        /// </summary>
        public string? supplier_empl { get; set; }
        
        /// <summary>
        /// 承攬商緊急聯絡電話
        /// </summary>
        public string? supplier_tel { get; set; }
        
        /// <summary>
        /// Id
        /// </summary>
        public long Id { get; set; }
        
        /// <summary>
        /// 申請日期
        /// </summary>
        public string? req_date { get; set; }
        
        /// <summary>
        /// 進廠人員姓名
        /// </summary>
        public string? person { get; set; }
        
        /// <summary>
        /// 施工人员数量
        /// </summary>
        public int? vcou { get; set; }
        
        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime? CreateTime { get; set; }
        
        /// <summary>
        /// 更新时间
        /// </summary>
        public DateTime? UpdateTime { get; set; }
        
        /// <summary>
        /// 创建人
        /// </summary>
        public long? CreateUserId { get; set; }
        
        /// <summary>
        /// 修改人
        /// </summary>
        public long? UpdateUserId { get; set; }
        
    }

    
  /// <summary>
    /// 工程監工日誌打印导出导入
    /// </summary>
    [ExcelExporter(Name = "工程監工日誌打印", TableStyle = OfficeOpenXml.Table.TableStyles.None, AutoFitAllColumn = true,AutoCenter =true)]
    [ExcelImporter( IsLabelingError = true,SheetName ="工程監工日誌打印")]
    public partial class ExportImportFlowSystemSGJKDto
    {
        /// <summary>
        /// 工程名稱
        /// </summary>
        [ExporterHeader(DisplayName = "工程名稱", IsBold = true)]
        [ImporterHeader(Name = "工程名稱")]
        public virtual string? project_name { get; set; }
        
        /// <summary>
        /// 承攬廠商名稱
        /// </summary>
        [ExporterHeader(DisplayName = "承攬廠商名稱", IsBold = true)]
        [ImporterHeader(Name = "承攬廠商名稱")]
        public virtual string? supplier_name { get; set; }
        
        /// <summary>
        /// 工程主辦部門
        /// </summary>
        [ExporterHeader(DisplayName = "工程主辦部門", IsBold = true)]
        [ImporterHeader(Name = "工程主辦部門")]
        public virtual string? req_dept { get; set; }
        
        /// <summary>
        /// 工程主辦部門名稱
        /// </summary>
        [ExporterHeader(DisplayName = "工程主辦部門名稱", IsBold = true)]
        [ImporterHeader(Name = "工程主辦部門名稱")]
        public virtual string? req_dept_name { get; set; }
        
        /// <summary>
        /// 工程主辦人員
        /// </summary>
        [ExporterHeader(DisplayName = "工程主辦人員", IsBold = true)]
        [ImporterHeader(Name = "工程主辦人員")]
        public virtual string? req_empl { get; set; }
        
        /// <summary>
        /// 工程主辦人員姓名
        /// </summary>
        [ExporterHeader(DisplayName = "工程主辦人員姓名", IsBold = true)]
        [ImporterHeader(Name = "工程主辦人員姓名")]
        public virtual string? req_empl_name { get; set; }
        
        /// <summary>
        /// 緊急聯絡電話
        /// </summary>
        [ExporterHeader(DisplayName = "緊急聯絡電話", IsBold = true)]
        [ImporterHeader(Name = "緊急聯絡電話")]
        public virtual string? req_tel { get; set; }
        
        /// <summary>
        /// 施工開始時間
        /// </summary>
        [ExporterHeader(DisplayName = "施工開始時間", IsBold = true)]
        [ImporterHeader(Name = "施工開始時間")]
        public virtual DateTime? BeginDateTime { get; set; }
        
        /// <summary>
        /// 施工結束時間
        /// </summary>
        [ExporterHeader(DisplayName = "施工結束時間", IsBold = true)]
        [ImporterHeader(Name = "施工結束時間")]
        public virtual DateTime? EndDateTime { get; set; }
        
        /// <summary>
        /// 施工內容說明
        /// </summary>
        [ExporterHeader(DisplayName = "施工內容說明", IsBold = true)]
        [ImporterHeader(Name = "施工內容說明")]
        public virtual string? content_desc { get; set; }
        
        /// <summary>
        /// 施工人员信息
        /// </summary>
        [ExporterHeader(DisplayName = "施工人员信息", IsBold = true)]
        [ImporterHeader(Name = "施工人员信息")]
        public virtual string? personlist { get; set; }
        
        /// <summary>
        /// 申請時間
        /// </summary>
        [ExporterHeader(DisplayName = "申請時間", IsBold = true)]
        [ImporterHeader(Name = "申請時間")]
        public virtual DateTime? ReqDateTime { get; set; }
        
        /// <summary>
        /// 详细内容
        /// </summary>
        [ExporterHeader(DisplayName = "详细内容", IsBold = true)]
        [ImporterHeader(Name = "详细内容")]
        public virtual string? Content { get; set; }
        
        /// <summary>
        /// 工作进度
        /// </summary>
        [ExporterHeader(DisplayName = "工作进度", IsBold = true)]
        [ImporterHeader(Name = "工作进度")]
        public virtual string? Progress { get; set; }
        
        /// <summary>
        /// 待改善项目
        /// </summary>
        [ExporterHeader(DisplayName = "待改善项目", IsBold = true)]
        [ImporterHeader(Name = "待改善项目")]
        public virtual string? ChangeProject { get; set; }
        
   public virtual string Images { get; set; } 
        /// <summary>
        /// 补充人员
        /// </summary>
        [ExporterHeader(DisplayName = "补充人员", IsBold = true)]
        [ImporterHeader(Name = "补充人员")]
        public virtual string? bcpersonlist { get; set; }
        
        /// <summary>
        /// 施工區域現場負責人姓名
        /// </summary>
        [ExporterHeader(DisplayName = "施工區域現場負責人姓名", IsBold = true)]
        [ImporterHeader(Name = "施工區域現場負責人姓名")]
        public virtual string? build_empl_name { get; set; }
        
        /// <summary>
        /// 施工開始時間
        /// </summary>
        [ExporterHeader(DisplayName = "施工開始時間", IsBold = true)]
        [ImporterHeader(Name = "施工開始時間")]
        public virtual string? begin_date { get; set; }
        
        /// <summary>
        /// 施工結束時間
        /// </summary>
        [ExporterHeader(DisplayName = "施工結束時間", IsBold = true)]
        [ImporterHeader(Name = "施工結束時間")]
        public virtual string? end_date { get; set; }
        
        /// <summary>
        /// 施工區域部門
        /// </summary>
        [ExporterHeader(DisplayName = "施工區域部門", IsBold = true)]
        [ImporterHeader(Name = "施工區域部門")]
        public virtual string? build_dept { get; set; }
        
        /// <summary>
        /// 施工區域部門名稱
        /// </summary>
        [ExporterHeader(DisplayName = "施工區域部門名稱", IsBold = true)]
        [ImporterHeader(Name = "施工區域部門名稱")]
        public virtual string? build_dept_name { get; set; }
        
        /// <summary>
        /// 施工區域現場負責人
        /// </summary>
        [ExporterHeader(DisplayName = "施工區域現場負責人", IsBold = true)]
        [ImporterHeader(Name = "施工區域現場負責人")]
        public virtual string? build_empl { get; set; }
        
        /// <summary>
        /// 施工緊急聯絡電話
        /// </summary>
        [ExporterHeader(DisplayName = "施工緊急聯絡電話", IsBold = true)]
        [ImporterHeader(Name = "施工緊急聯絡電話")]
        public virtual string? build_tel { get; set; }
        
        /// <summary>
        /// 承攬商現場負責人
        /// </summary>
        [ExporterHeader(DisplayName = "承攬商現場負責人", IsBold = true)]
        [ImporterHeader(Name = "承攬商現場負責人")]
        public virtual string? supplier_empl { get; set; }
        
        /// <summary>
        /// 承攬商緊急聯絡電話
        /// </summary>
        [ExporterHeader(DisplayName = "承攬商緊急聯絡電話", IsBold = true)]
        [ImporterHeader(Name = "承攬商緊急聯絡電話")]
        public virtual string? supplier_tel { get; set; }
        
        /// <summary>
        /// 申請日期
        /// </summary>
        [ExporterHeader(DisplayName = "申請日期", IsBold = true)]
        [ImporterHeader(Name = "申請日期")]
        public virtual string? req_date { get; set; }
        
        /// <summary>
        /// 進廠人員姓名
        /// </summary>
        [ExporterHeader(DisplayName = "進廠人員姓名", IsBold = true)]
        [ImporterHeader(Name = "進廠人員姓名")]
        public virtual string? person { get; set; }
        
        /// <summary>
        /// 施工人员数量
        /// </summary>
        [ExporterHeader(DisplayName = "施工人员数量", IsBold = true)]
        [ImporterHeader(Name = "施工人员数量")]
        public virtual int? vcou { get; set; }
        
        /// <summary>
        /// 创建时间
        /// </summary>
        [ExporterHeader(DisplayName = "创建时间", IsBold = true)]
        [ImporterHeader(Name = "创建时间")]
        public virtual DateTime? CreateTime { get; set; }
        
        /// <summary>
        /// 更新时间
        /// </summary>
        [ExporterHeader(DisplayName = "更新时间", IsBold = true)]
        [ImporterHeader(Name = "更新时间")]
        public virtual DateTime? UpdateTime { get; set; }
        
        /// <summary>
        /// 创建人
        /// </summary>
        [ExporterHeader(DisplayName = "创建人", IsBold = true)]
        [ImporterHeader(Name = "创建人")]
        public virtual long? CreateUserId { get; set; }
        
        /// <summary>
        /// 修改人
        /// </summary>
        [ExporterHeader(DisplayName = "修改人", IsBold = true)]
        [ImporterHeader(Name = "修改人")]
        public virtual long? UpdateUserId { get; set; }
        
    }